home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-11
/
breeze30.zip
/
BREEZE.DOC
< prev
next >
Wrap
Text File
|
1993-01-04
|
15KB
|
390 lines
THE B R E E Z E
A TRUE Windowing Library For Clipper
The BREEZE library is NOT a shareware product, nor is it free
software. This is an evaluation copy of the library,
functionally it is exactly the same as the copy you will receive
when you register, however this copy displays a message on the
screen once, and only once, during the execution of a program.
To Register:
a) Send $75, you will receive the documentation in a printed
bound manual, or send $50 to receive the latest copy and
documentation on disk.
b) If you are interested in customizing this software
for your's, or your company's own purposes contact
LOGITEK at 703-486-3518 (leave message) or write to:
LOGITEK
P.O. Box 4603
Arlington, Va 22204
Or, leave a message to the SYSOP on the LOGITEK
BBS at 703 - 450 - 7864
All registered users will get free technical support from the
LOGITEK BBS.
Feel free to pass this evaluation copy on to as many people
as you would like.
To Register send check or money order to:
LOGITEK
P.O. Box 4603
Arlington, Va 22204
Unfortunately Logitek cannot accept credit cards as of this time,
however, at your request we will ship the product to you COD and/or
Express Delivery.
LOGITEK is primarily a software products company,
specializing in microcomputers and primarily using 8086 assembler
and the C language. However LOGITEK is interested in any
consulting or custom software that you may require. LOGITEK
charges on an hourly basis or preferably on a fixed price basis.
No job is too small or too large for LOGITEK !
For Free information call 703 - 486 - 3518 or call the
LOGITEK BBS at 450-7864 and leave a message for the SYSOP.
Future products still in the development stage include:
- Communications Library for Clipper.
- File import/export Library
Call if you have specific needs or ideas !
The following documentation is a VERY sketchy outline of the
functions available in the BREEZE library. Arguments enclosed in
<>, are optional, and need not be included when calling the
function. However arguments must be passed in the correct order,
for example:
wframe(<type frame>,<select area>,<y_left,x_left,y_right,x_right>)
This function's arguments are all optional, however, if you
want to specify select area, then you must also specify the type
of frame. This limitation is beyond the control of this library
and nothing can be done to avoid it.
The linking syntax:
plink86 FI <your file> LIB Clipper,Breeze
The program file on this diskette is the demo programs source
code.
BOX Draws a box using the extended ASCII character set.
FUNCTION This functions allows boxes to be drawn on any video
page. Five different types of boxes are available.
SYNTAX box( <y1,x1,y2,x2>,<type>,<page>,<color>)
LINE LINE draws a single or double bar line between
FUNCTION two coordinates on any page of video memory. Two
types of lines are available.
SYNTAX line(y1,x1,y2,x2,<type>,<boxconn>,<page>,<color>)
CLEARSCR CLEARSCR will clear the defined rectangle with the
FUNCTION attribute (color) specified in the parameters.
If the optional character parameter is specified then
the rectangle is filled with that character.
SYNTAX clearscr(y1,x1,y2,x2,color,<char>,<page>)
PRINTSTR PRINTSTR displays the string at the specified
FUNCTION coordinates and page number. This function ONLY
prints character data types.
SYNTAX printstr(y1,x1,string,<page>)
KEYCODE KEYCODE accepts one input key from the key board.
FUNCTION Once a key is pressed KEYCODE returns the scan code
for the key, no character is echoed on the screen.
SYNTAX mem_var = keycode()
TOGSCR TOGSCR will turn the monitor on and off. This will
FUNCTION not clear the screen. The screen can be written to while
the monitor is turned off, this is another way to make it
appear as if the screen was generated instantly.
SYNTAX togscr(flag)
SCRMODE SCRMODE returns the current video mode the computer is
FUNCTION using. This function is useful in determining if a
computer has a Monochrome Adapter, or a CGA.
SYNTAX mem_var = scrmode()
SETSCR SETSCR sets the active display page, this will
FUNCTION instantaneously switch the video display to the desired
page. This function is extremely fast and is very
efficient for switching pages. This does NOT move the
contents of one video page to another, but instead it
directs the video adapter to display the contents of
another video page.
SYNTAX setscr(page_num)
SOUND SOUND turns the computer's speaker on with the specified
FUNCTION frequency, and for the specified duration. The frequency
specified is in kilohertz, and can range from 50 to 15000.
The duration is in hundreths of seconds.
SYNTAX sound(freq,duration)
WUSE WUSE opens(creates) a window in the current active
FUNCTION window select area. You must specify the number of
rows (heigth), number of columns (width), and the
default coordinate to align the upper left corner of
the window on when it is displayed. You must also
specify the default color of the window. This function
does not display the window on the screen. If the
shaded argument is greater than zero then the window
will be shaded with the color specified in the
shade_color argument.
SYNTAX wuse(rows,columns,yscr,xscr,color,<shaded>,<shade_color>)
WSELECT WSELECT selects one of the 99 window areas as the
FUNCTION current active window area. If no select area is
specified then the current active select area is
returned. All subsequent windowing functions which do
not explicitly specify a window area to operate on will
default to the last window area selected by this function.
SYNTAX wselect(<area>)
WDISPLAY Displays a window on the screen, saving the overwritten
FUNCTION portion of the screen. All further window operations,
WFRAME, WPRINT, WLINE, will only affect the screen image
of the window. You can override the window's default
screen location by specifying a new coordinate to align the
upper left corner of the window with. This new coordinate
will become the default coordinate of this window on all
further WDISPLAY functions.
SYNTAX wdisplay(<select area>,<y,x>,<page>)
WSAVE WSAVE will write any window to a disk file. This
FUNCTION function along with WRESTORE allows a programmer to create
a virtual window/screen system, releasing the programmer
from the confines of memory space.
SYNTAX wsave(filename,<select area>)
WRESTORE WRESTORE creates a window and reads the window residing in
FUNCTION the specified file into the newly created window.
SYNTAX wrestore(filename,<select area>)
WCOLOR WCOLOR changes the default color of the window, if the
FUNCTION optional <change flag> is specified then all of the
attributes (colors) in a given window will be changed to
the specified color. This function will not disturb any
information that is currently in the window, it ONLY
changes the colors.
SYNTAX wcolor(color,<change flag>,<select area>)
WCLEAR WCLEAR will clear any rectangle within a window, and make
FUNCTION that rectangle the specified color. If the optional
character is specified then the rectangle will be filled
with that character.
SYNTAX wclear(<y1,x1,y2,x2>,<color>,<character>,<select area>)
WPRINT WPRINT displays the string at the coordinates on the
FUNCTION window specified. This function ONLY prints character
data types. This function will automatically perform a
'smart' wordwrap. If the string is too large for the window
WPRINT will attempt to break the string at the nearest
space, and will return unprinted portion of the string
as the function's return value. WPRINT returns a null
character, ( "" ) if the string fits inside the window.
Additionally this function will never print a character on
in the last column of a window, this will insure that the
window's frame will never be overwritten.
SYNTAX wprint(y1,x1,str,<select area>)
WFRAME Draws a box around the window using the ASCII box
FUNCTION characters. This function will draw five different
types of frames around a window, and if the optional
parameters are specified WFRAME will draw a box anywhere
on the window. The color defaults to the current window's
color
SYNTAX wframe(<type>,<select area>,<y1,x1,y2,x2>)
WLINE WLINE draws a single or double bar line between given
FUNCTION two coordinates on the specified window. Optional box
connector character can also be specified.
SYNTAX wline(y1,x1,y2,x2,<type>,<boxconn>,<select area>)
WCLOSE WCLOSE will close the specified window, and restore the
FUNCTION previously overwritten portion of the screen. This will
basically make the window only active in memory, not on the
screen. If the optional update flag is specified, then any
thing that is being displayed on the window when it is
will be copied to the window in memory.
SYNTAX wclose(<select area>,<update flag>)
WCOPY WCOPY copies the selected window to another window,
FUNCTION aligning the upper left corner of the copied window with
the given coordinate on the target window.
SYNTAX wcopy(y,x,target area,<source area>)
WRELEASE WRELEASE will release a window from memory. If the window
FUNCTION is currently on the screen, the saved portion of the screen
will be lost. If no parameters are given then the current
active window will be released.
SYNTAX wrelease(<select area>)
WMOVFROM WMOVFROM copies a portion of a window to the screen.
FUNCTION The first four parameters define the area on the window
to be copied, the sixth and seventh parameters specify the
coordinate to align the upper left corner of the moved
rectangle with. If a rectangle is larger than the screen
it will be automatically clipped. Note that this function
does NOT save the overwritten area on the screen. WMOVFROM
can copy a portion of a window to ANY video page. If no
parameters are specified then the entire window is copied
to the screen, aligned on the upper left corner of the
screen. If ONLY a single (x,y) coordinate is specified
then the entire window is move to the screen aligned on
the given coordinate.
SYNTAX wmovfrom(<y1,x1,y2,x2>,<select area>,<y3,x3>,<page>)
WMOVETO WMOVETO copies a portion of the screen to a window.
FUNCTION The first four parameters define the area on the screen
to be copied, the sixth and seventh parameters specify the
coordinate to align the upper left corner of the moved
rectangle with. If a rectangle is larger than the window
it will be automatically clipped. WMOVETO can copy a portion
of ANY video page. If no parameters are specified then the
entire screen is copied to the current window area aligned on
the window coordinate 0,0.
SYNTAX wmoveto(<y1,x1,y2,x2>,<select area>,<y3,x3>,<page>)
WSCROLL WSCROLL scrolls within a window when the window is displayed
FUNCTION on the screen. This function can scroll any number of lines,
up, down, left or right. WSCROLL will automatically adjust
if the window is framed, so that the frame is not disturbed.
SYNTAX wscroll(<nolines>,<up/down>,<select area>,<y1,x1,y2,x2>)
WSHIFT WSHIFT moves a window that is currently on the screen, one
FUNCTION column or row in any direction.
SYNTAX wshift(direction,<update flag>,<select area>)
WCOLUMN WCOLUMN returns the number of columns, the width, of
FUNCTION a window.
SYNTAX wcolumn(<select area>)
WROW WROW returns the number of rows, the heigth, of
FUNCTION a window.
SYNTAX wrow(<select area>)
WCOLSCR WCOLSCR returns the current screen coordinate of the
FUNCTION window.
SYNTAX wcolscr(<select area>)
WROWSCR WROWSCR returns the current screen coordinate of the
FUNCTION window.
SYNTAX wrowscr(<select area>)
WFILL WFILL will fill any portion of a window with the color
FUNCTION specified. This function does not disturb the info in
the window, but rather only changes the color.
SYNTAX wfill(y1,x1,y2,x2,color,<select area>)
WFIND WFIND will return the next free window select area, optionall
FUNTION starting its search at the select area specified, this argument
defaults to select area one.
SYNTAX wfind(<start area>)
WEXIST WEXIST returns true if the specified select area is in use,
FUNCTION otherwise it returns false. Select area defaults to current
window select area.
SYNTAX wexist(<select area>)
WZOOM WZOOM turns the zoom function on/off for the specified window.
FUNCTION
SYNTAX wzoom(freq,delay,factor,<select area>)
ZOOM ZOOM turns the zoom function on/off for the specified window.
FUNCTION
SYNTAX zoom(y1,x1,y2,x2,color,freq,delay,factor)
DELAY DELAY delays the program for the specified number of timer
FUNCTION 'tics'. A timer tic is machine independent and is equal
to approximately 55ms.
SYNTAX delay(tics)
SHADE SHADE clears the specified area and uses shade characters
FUNCTION around the right and bottom edges to give the rectangle
a 3-D look.
SYNTAX shade(y1,x1,y2,x2,color1,color2,width)